package com.cuotigou.mapper;

import com.cuotigou.pojo.SOfferRewardAnswer;

import java.util.List;

public interface SOfferRewardAnswerMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SOfferRewardAnswer record);

    int insertSelective(SOfferRewardAnswer record);

    SOfferRewardAnswer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SOfferRewardAnswer record);

    int updateByPrimaryKey(SOfferRewardAnswer record);
    //查询悬赏所有回答
    List<SOfferRewardAnswer> selectofferRewardAnswer(String rewadId);
    //修改悬赏回答为已读
    void update(Integer rewardId);
}